import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'isInsured'
})
export class IsInsuredPipe implements PipeTransform {

  transform(value: boolean): string {
    return value ? '参保' : '未参保';
  }

}
